home *** CD-ROM | disk | FTP | other *** search
/ Champak 139 / (Vol 139) Sep 24 2011.iso / Games / spin_kicker.swf / scripts / __Packages / Ball_class.as next >
Text File  |  2011-09-24  |  8KB  |  215 lines

  1. var ┬º\x01┬º = 485;
  2. if(eval("\x01") == 485)
  3. {
  4.    set("\x01",eval("\x01") - 390);
  5.    ┬º┬ºpush(true);
  6.    ┬º┬ºpush(false);
  7.    ┬º┬ºpush(false);
  8.    ┬º┬ºpush(true);
  9.    while(true)
  10.    {
  11.       if(┬º┬ºpop())
  12.       {
  13.       }
  14.       if(┬º┬ºpop())
  15.       {
  16.       }
  17.       if(┬º┬ºpop())
  18.       {
  19.          break;
  20.       }
  21.       ┬º┬ºpush(true);
  22.       ┬º┬ºpush(false);
  23.    }
  24.    if(!eval("\x01")["\x02"])
  25.    {
  26.       eval("\x01")["\x02"] extends eval(┬º┬ºconstant(4));
  27.       var _loc2_ = eval("\x01")["\x02"] = function()
  28.       {
  29.          super();
  30.          this["\x03"]["\x04"] = false;
  31.       }[┬º┬ºconstant(5)];
  32.       _loc2_[┬º┬ºconstant(6)] = function(direction, power)
  33.       {
  34.          power /= 2;
  35.          _root[┬º┬ºconstant(8)][┬º┬ºconstant(9)](┬º┬ºconstant(7));
  36.          this[┬º┬ºconstant(10)] = true;
  37.          this[┬º┬ºconstant(11)] = power * eval(┬º┬ºconstant(12))[┬º┬ºconstant(13)](direction * 0.017453292519943295);
  38.          this[┬º┬ºconstant(14)] = power * eval(┬º┬ºconstant(12))[┬º┬ºconstant(15)](direction * 0.017453292519943295);
  39.       };
  40.       _loc2_[┬º┬ºconstant(16)] = function()
  41.       {
  42.          var _loc4_ = 10000;
  43.          var _loc3_ = 0;
  44.          var _loc5_ = 0;
  45.          var _loc2_ = 1;
  46.          while(_loc2_ <= 20)
  47.          {
  48.             _loc3_ = eval(┬º┬ºconstant(12))[┬º┬ºconstant(21)](eval(┬º┬ºconstant(12))[┬º┬ºconstant(19)](this[┬º┬ºconstant(17)][_loc2_][┬º┬ºconstant(18)] - this[┬º┬ºconstant(18)],2) + eval(┬º┬ºconstant(12))[┬º┬ºconstant(19)](this[┬º┬ºconstant(17)][_loc2_][┬º┬ºconstant(20)] - this[┬º┬ºconstant(20)],2));
  49.             if(_loc3_ < _loc4_)
  50.             {
  51.                _loc4_ = _loc3_;
  52.                _loc5_ = _loc2_;
  53.             }
  54.             _loc2_ = _loc2_ + 1;
  55.          }
  56.          return this[┬º┬ºconstant(17)][_loc5_];
  57.       };
  58.       _loc2_[┬º┬ºconstant(22)] = function()
  59.       {
  60.          this[┬º┬ºconstant(17)] = _root[┬º┬ºconstant(8)][┬º┬ºconstant(17)];
  61.          this[┬º┬ºconstant(11)] = eval(┬º┬ºconstant(12))[┬º┬ºconstant(23)]() * 5;
  62.          if(eval(┬º┬ºconstant(12))[┬º┬ºconstant(23)]() > 50)
  63.          {
  64.             this[┬º┬ºconstant(11)] *= -1;
  65.          }
  66.          this[┬º┬ºconstant(14)] = eval(┬º┬ºconstant(12))[┬º┬ºconstant(23)]() * 5;
  67.          if(eval(┬º┬ºconstant(12))[┬º┬ºconstant(23)]() > 50)
  68.          {
  69.             this[┬º┬ºconstant(14)] *= -1;
  70.          }
  71.       };
  72.       _loc2_[┬º┬ºconstant(24)] = function()
  73.       {
  74.          var _loc3_ = undefined;
  75.          var _loc6_ = undefined;
  76.          var _loc5_ = undefined;
  77.          if(this[┬º┬ºconstant(25)])
  78.          {
  79.             this[┬º┬ºconstant(22)]();
  80.             this[┬º┬ºconstant(25)] = false;
  81.          }
  82.          if(this[┬º┬ºconstant(10)])
  83.          {
  84.             _loc3_ = this[┬º┬ºconstant(16)]();
  85.             _root[┬º┬ºconstant(8)][┬º┬ºconstant(26)] = _loc3_;
  86.             if(_loc3_[┬º┬ºconstant(18)] > this[┬º┬ºconstant(18)])
  87.             {
  88.                this[┬º┬ºconstant(11)] += this[┬º┬ºconstant(27)];
  89.             }
  90.             if(_loc3_[┬º┬ºconstant(18)] < this[┬º┬ºconstant(18)])
  91.             {
  92.                this[┬º┬ºconstant(11)] -= this[┬º┬ºconstant(27)];
  93.             }
  94.             if(_loc3_[┬º┬ºconstant(20)] > this[┬º┬ºconstant(20)])
  95.             {
  96.                this[┬º┬ºconstant(14)] += this[┬º┬ºconstant(27)];
  97.             }
  98.             if(_loc3_[┬º┬ºconstant(20)] < this[┬º┬ºconstant(20)])
  99.             {
  100.                this[┬º┬ºconstant(14)] -= this[┬º┬ºconstant(27)];
  101.             }
  102.             if(this[┬º┬ºconstant(11)] > this[┬º┬ºconstant(28)])
  103.             {
  104.                this[┬º┬ºconstant(11)] = this[┬º┬ºconstant(28)];
  105.             }
  106.             if(this[┬º┬ºconstant(14)] > this[┬º┬ºconstant(28)])
  107.             {
  108.                this[┬º┬ºconstant(14)] = this[┬º┬ºconstant(28)];
  109.             }
  110.             if(this[┬º┬ºconstant(11)] < this[┬º┬ºconstant(28)] * -1)
  111.             {
  112.                this[┬º┬ºconstant(11)] = this[┬º┬ºconstant(28)] * -1;
  113.             }
  114.             if(this[┬º┬ºconstant(14)] < this[┬º┬ºconstant(28)] * -1)
  115.             {
  116.                this[┬º┬ºconstant(14)] = this[┬º┬ºconstant(28)] * -1;
  117.             }
  118.             if(this[┬º┬ºconstant(11)] > 0)
  119.             {
  120.                this[┬º┬ºconstant(11)] -= this[┬º┬ºconstant(29)];
  121.             }
  122.             else
  123.             {
  124.                this[┬º┬ºconstant(11)] += this[┬º┬ºconstant(29)];
  125.             }
  126.             if(this[┬º┬ºconstant(14)] > 0)
  127.             {
  128.                this[┬º┬ºconstant(14)] -= this[┬º┬ºconstant(29)];
  129.             }
  130.             else
  131.             {
  132.                this[┬º┬ºconstant(14)] += this[┬º┬ºconstant(29)];
  133.             }
  134.             if(this[┬º┬ºconstant(18)] > 625 && this[┬º┬ºconstant(11)] > 0)
  135.             {
  136.                this[┬º┬ºconstant(11)] *= -1;
  137.             }
  138.             if(this[┬º┬ºconstant(18)] < 10 && this[┬º┬ºconstant(11)] < 0)
  139.             {
  140.                this[┬º┬ºconstant(11)] *= -1;
  141.             }
  142.             if(this[┬º┬ºconstant(20)] < 5 && this[┬º┬ºconstant(14)] < 0)
  143.             {
  144.                this[┬º┬ºconstant(14)] *= -1;
  145.             }
  146.             if(this[┬º┬ºconstant(20)] > 425 && this[┬º┬ºconstant(14)] > 0)
  147.             {
  148.                this[┬º┬ºconstant(14)] *= -1;
  149.             }
  150.             this[┬º┬ºconstant(18)] += this[┬º┬ºconstant(11)];
  151.             this[┬º┬ºconstant(20)] += this[┬º┬ºconstant(14)];
  152.             var _loc4_ = 1;
  153.             while(_loc4_ <= 20)
  154.             {
  155.                if(this[┬º┬ºconstant(30)](this[┬º┬ºconstant(17)][_loc4_]))
  156.                {
  157.                   if(this[┬º┬ºconstant(11)] < 0)
  158.                   {
  159.                      _loc6_ = this[┬º┬ºconstant(11)] * -1;
  160.                      this[┬º┬ºconstant(11)] += this[┬º┬ºconstant(31)];
  161.                   }
  162.                   else
  163.                   {
  164.                      _loc6_ = this[┬º┬ºconstant(11)];
  165.                      this[┬º┬ºconstant(11)] -= this[┬º┬ºconstant(31)];
  166.                   }
  167.                   if(this[┬º┬ºconstant(14)] < 0)
  168.                   {
  169.                      _loc5_ = this[┬º┬ºconstant(14)] * -1;
  170.                      this[┬º┬ºconstant(14)] += this[┬º┬ºconstant(31)];
  171.                   }
  172.                   else
  173.                   {
  174.                      _loc5_ = this[┬º┬ºconstant(14)];
  175.                      this[┬º┬ºconstant(14)] -= this[┬º┬ºconstant(31)];
  176.                   }
  177.                   if(_loc6_ + _loc5_ < 2)
  178.                   {
  179.                      this[┬º┬ºconstant(11)] = 0;
  180.                      this[┬º┬ºconstant(14)] = 0;
  181.                      this[┬º┬ºconstant(10)] = false;
  182.                      if(_loc3_[┬º┬ºconstant(32)])
  183.                      {
  184.                         this[┬º┬ºconstant(18)] = _loc3_[┬º┬ºconstant(18)] - _loc3_[┬º┬ºconstant(33)];
  185.                         this[┬º┬ºconstant(20)] = _loc3_[┬º┬ºconstant(20)];
  186.                      }
  187.                      else
  188.                      {
  189.                         this[┬º┬ºconstant(18)] = _loc3_[┬º┬ºconstant(18)] + _loc3_[┬º┬ºconstant(33)];
  190.                         this[┬º┬ºconstant(20)] = _loc3_[┬º┬ºconstant(20)];
  191.                      }
  192.                   }
  193.                }
  194.                _loc4_ = _loc4_ + 1;
  195.             }
  196.          }
  197.       };
  198.       _loc2_[┬º┬ºconstant(28)] = 10;
  199.       _loc2_[┬º┬ºconstant(29)] = 0.125;
  200.       _loc2_[┬º┬ºconstant(27)] = 0.25;
  201.       _loc2_[┬º┬ºconstant(31)] = 0.25;
  202.       _loc2_[┬º┬ºconstant(11)] = 0;
  203.       _loc2_[┬º┬ºconstant(14)] = 0;
  204.       _loc2_[┬º┬ºconstant(25)] = true;
  205.       _loc2_[┬º┬ºconstant(17)] = new ┬º\┬º\┬ºconstant(34)┬º();
  206.       _loc2_[┬º┬ºconstant(10)] = true;
  207.       ┬º┬ºpush(┬º┬ºconstant(35)(eval("\x01")["\x02"][┬º┬ºconstant(5)],null,1));
  208.    }
  209.    ┬º┬ºpop();
  210. }
  211. else if(eval("\x01") == 95)
  212. {
  213.    set("\x01",eval("\x01") + 299);
  214. }
  215.